#include "filemodul.h"


//FileModul::FileModul()
//{
//}

fileuse fl;

extern "C" __declspec(dllexport) void writeXML(QList<ArticleStruct> artStructList, QString fileName)
{
    fl.writeXML(artStructList, fileName);
}
extern "C" __declspec(dllexport) QList<ArticleStruct> readXML(QString fileName)
{
    return fl.readXML(fileName);
}

//extern "C" __declspec(dllexport) ArticleStruct readXML(QString _fileName)
//{
//    return fl.readXML(_fileName);
//}

//extern "C" __declspec(dllexport) void setFileName(QString _fileName)
//{
//    setFileName(_fileName);
//}
